/**
 * 
 */



let slide_img = document.getElementsByClassName("slide_img");
let current = 0;



setInterval(
	function(){
		let img_previous_index = current;
		slide_img[current].style.animation = "slide_out 2s";
		setTimeout(function(){
			slide_img[img_previous_index].style.display = "none";
		},1800)
		
		if (current == 2)
			current = 0;
		else
			current++;
		slide_img[current].style.animation = "slide_in 2s";
		slide_img[current].style.display = "block";
	},
	4000
)





